package com.mqy.spring.pojo;


public class Book {

  private long id;
  private String title;
  private String author;
  private java.sql.Timestamp publicDate;
  private String publisher;
  private String isbn;
  private double price;
  private String picture;
  private long cid;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }


  public java.sql.Timestamp getPublicDate() {
    return publicDate;
  }

  public void setPublicDate(java.sql.Timestamp publicDate) {
    this.publicDate = publicDate;
  }


  public String getPublisher() {
    return publisher;
  }

  public void setPublisher(String publisher) {
    this.publisher = publisher;
  }


  public String getIsbn() {
    return isbn;
  }

  public void setIsbn(String isbn) {
    this.isbn = isbn;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public String getPicture() {
    return picture;
  }

  public void setPicture(String picture) {
    this.picture = picture;
  }


  public long getCid() {
    return cid;
  }

  public void setCid(long cid) {
    this.cid = cid;
  }

  @Override
  public String toString() {
    return "Book{" +
            "id=" + id +
            ", title='" + title + '\'' +
            ", author='" + author + '\'' +
            ", publicDate=" + publicDate +
            ", publisher='" + publisher + '\'' +
            ", isbn='" + isbn + '\'' +
            ", price=" + price +
            ", picture='" + picture + '\'' +
            ", cid=" + cid +
            '}';
  }
}
